<% import grails.persistence.Event %>
<%=packageName%>
<g:set var="ownerContainerName" value="\${ownedProperty}formcontainer" />
<tr id="\${ownedProperty}_\${${propertyName}?.id}_tr"  class="prop">

  <td valign="top" class="value">\${${propertyName}?.encodeAsHTML()}</td>
  <td>
    <g:remoteLink  action="createInline" update="[success: ownerContainerName ]" params="[ownerId:ownerId, ownerController:controllerName ,ownedProperty:ownedProperty]">
           <span class="rowactionedit"> \${message(code: 'default.button.edit.label', default: 'Edit')} </span>
    </g:remoteLink>
  </td>
  <td>
    <g:set var="removeActionName" value="remove\${ownedProperty}" />
    <g:remoteLink controller="\${ownerController}" action="\${removeActionName}" params="['ownerId':ownerId,'id' : ${propertyName}?.id]" before="if(!confirm('\${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}')) return false" after=" new Effect.Fade('\${ownedProperty}_\${${propertyName}?.id}_tr', {duration:1.0});">
      <span class="rowactiondelete"> \${message(code: 'default.button.delete.label', default: 'Delete')} </span>
    </g:remoteLink>
  </td>




</tr>